Dominant Colors Options
Options for BlockApi.getDominantColors.
Parameters
count
number of dominant colors to extract. The returned palette may contain fewer entries for images with very little variation, and is empty when count is 0. Defaults to 5.
ignore White
if true, near-white pixels are excluded from the analysis. Useful when analyzing images on white backgrounds to avoid the background dominating the result. Defaults to false.